package interview.problem1;

public class GraphException extends Exception {
	/**  
	* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)  
	*/  
	private static final long serialVersionUID = 1L;
	
	/**  
	* @Fields errorMsg : 错误消息  
	*/  
	String errorMsg;
	
	public GraphException()	{
	}

	public GraphException(String msg){
		this.errorMsg = msg;
	}

	public String errorMsg() {
		return this.errorMsg;
	}
}
